#:kivy 1.0.9
#import FittableButton ui.fittable_widgets.FittableButton
<RulesScreen>:
    rules: rules
    scroll_layout: scroll_layout
    orientation: 'vertical'
    ScrollView:
        do_scroll_x: False
        size_hint_y: 1
        GridLayout:
            id: scroll_layout
            cols: 1
            size_hint_y: None
            height: root.width*3.5
            Label:
                id: rules
                font_size: root.width*0.045
                text: _('*rules*').format('@DATE@')
    BoxLayout:
        orientation: 'horizontal'
        size_hint_y: None
        height: root.height*0.15
        FittableButton:
            text: _('Leave rules')
            on_release: root.leave()
        FittableButton:
            text: _('About')
            on_release: root.about()
